/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.dafe.partyband.services.api;

import org.dafe.partyband.db.api.ISong;

/**
 *
 * @author dafe
 */
public interface IDurationObtainer {

    /**
     * Get duration of the song in seconds or value below zero if
     * duration can't be obtained for the song
     * 
     * @param song Song to get duration for in seconds
     * @return duration in seconds or value below zero
     */
    int getDuration(ISong song);
    
}
